<template>
	<view class="item-container">
		<view class="item-box">
			<!-- 左侧 -->
			<view class="item-box-left">
				<!-- 索引 -->
				<hot-ranking></hot-ranking>
			</view>
			<!-- 右侧 -->
			<view class="item-box-right">
				<!-- 标题 -->
				<view class="item-title">
					标题
				</view>
				<!-- 简介 -->
				<view class="item-desc">
					简介
				</view>
				<view class="item-bottom-box">
					<!-- 作者 -->
					<text class="item-author">作者</text>
					<!-- 热度 -->
					<view class="hot-box">
						<image src="../../static/images/hot-icon.png" class="hot-icon"></image>
						<text class="hot-text">1000热度</text>
					</view>
					
				</view>
				
			</view>
			
		</view>
		
	</view>
</template>

<script>
	export default {
		name:"hot-list-item",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.item-container{
	padding-bottom:12px;
	.item-box{
		display: flex;
		margin: 0 10px;
		padding: 12px 10px;
		background-color:#ffffff ;
		border-radius: 6px;
		box-shadow:2px 2px 5px 1px rgba(143, 143, 143, 0.1) ;
		.item-box-left{
			margin-right: 5px;
			
		}
		.item-box-right{
			width: 100%;
			.item-title{
				font-size:16px ;
				font-weight: bold;
				color: #000;
			}
			.item-desc{
				padding-top: 4px;
				font-size: 14px;
				color:rgb(10, 9, 9)  ;
			}
			.item-bottom-box{
				margin-top: 5px;
				display: flex;
				justify-content:space-between ;
				align-items: center;
				.item-author{
					font-size: 12px;
					color: #999;
				}
				.hot-box{
					.hot-icon{
						width: 20px;
						height: 20px;
					}
					.hot-text{
						margin-left: 4px;
						font-size: 12px;
						color:#f94d2a ;
					}
				}
			}
			
		}
	}
}
</style>